package com.example.foodisimportant.Bean;

import android.media.Image;
import android.widget.ImageView;

import java.io.Serializable;

public class PostEntity implements Serializable {
    public String number,name,position,price,picture,flavour;
    public PostEntity(){

    }
    public PostEntity(String number,String name,String position,String price,String picture,String flavour){

        this.number =number;
        this.name=name;
        this.position=position;
        this.price=price;
        this.picture=picture;
        this.flavour=flavour;

    }

    public String getNumber(){return number;}

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName(){return name;}
    public void setName(String name){this.name=name;}
    public String getPosition(){return position;}
    public void setPosition(String position){this.position=position;}
    public String getPrice(){return price;}
    public void setPrice(String price){this.price=price;}
    public String getPicture(){return picture;}
    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getFlavour() {
        return flavour;
    }

    public void setFlavour(String flavour) {
        this.flavour = flavour;
    }

    @Override
    public String toString() {
        return "PostEntity{" +
                "number='" + number + '\'' +
                ",name='" + name + '\'' +
                ", position='" + position + '\'' +
                ", price='" + price + '\'' +
                ", picture='" + picture + '\'' +
                '}';
    }
}